package com.td.library.data;

/**
 * 设备数据类
 */
public class DeviceData {
    private boolean checked;
    private String deviceName;
    private String deviceId;
    private boolean isLocal;

    public DeviceData(boolean isLocal, String deviceName, String deviceId) {
        this.isLocal = isLocal;
        this.deviceName = deviceName;
        this.deviceId = deviceId;
        this.checked = false;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }


    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }


    public boolean isLocal() {
        return isLocal;
    }

    public void setLocal(boolean local) {
        isLocal = local;
    }

    @Override
    public String toString() {
        return "DeviceData{" +
                "isChecked=" + checked +
                ", deviceName='" + deviceName + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", isLocal=" + isLocal +
                '}';
    }

}
